<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<html>
  <head>
    <title>kungkhies.com</title>
    <link href="<s:url value="/resources" />/css/kungkhies.css" 
          rel="stylesheet" 
          type="text/css" />
  </head>

  <body>
      
    <div id="container">
      <table border="0" id="topbar">
            <tr >
                <td id="logo">
                    <a href="<s:url value="/home" />"><img src="<s:url value="/resources" />/images/kungkhies-beta-logo.png" /></a></td>
                <td id="strapline">A new way to teach.<br/>A new way to learn.</td>
                <sec:authorize access="!isAuthenticated()"> <td id="signin"><a href="<s:url value="/login" />">Sign in</a></sec:authorize>
                <sec:authorize access="isAuthenticated()"> <td id="signin"><a href="/kungkhies/static/j_spring_security_logout">Logout</a></sec:authorize>
                    
                    <br/><a href="<s:url value="/kungkhers?new" />">Register</a><br/><a href="">Forgotten password?</a></td>
            </tr>
            </table>
        
      <div id="top">
          
        <t:insertAttribute name="top" /> 
      </div>
      
      <div id="menu">
          
        <t:insertAttribute name="menu" /> 
      </div>
      
      <div id="side">
        <t:insertAttribute name="side" /> 
      </div>
      
      <div id="content">
        <t:insertAttribute name="content" />
      </div>
 
    </div>
  </body>
</html>
